package com.doubi.model.sys;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

import com.baomidou.mybatisplus.annotation.*;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import lombok.*;
import lombok.experimental.Accessors;

/**
 * 【请填写功能名称】对象 t_capital_flow
 * 
 * @author MrDoubi
 * @date 2020-04-08 12:57:17
 */
@Data
@TableName("t_capital_flow")
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = true)
public class CapitalFlow extends Model<CapitalFlow>{
    private static final long serialVersionUID = 1L;

    /** 唯一标识 */
    @Override
    protected Serializable pkVal() {
        return this.oid;
    }
    @TableId(value = "oid", type = IdType.UUID)
    private String oid ;
    /** 用户oid */
    @TableField(value = "user_oid")
    private String userOid ;
    /** 金额 */
    @TableField(value = "price")
    private BigDecimal price ;
    /** 1.收入 2.支出 */
    @TableField(value = "is_pay")
    private Integer isPay ;
    /** 关联oid */
    @TableField(value = "other_oid")
    private String otherOid ;
    /** 创建时间 */
    @TableField(value = "create_time")
    private Date createTime ;
    /** 备注 */
    @TableField(value = "remarks")
    private String remarks ;
}
